<?php

require_once WP_PLUGIN_DIR . '/diapucp-events/defines.php' ;
require_once DPEM_SMB_PATH . '/smb_basefield.php' ;

class smartmeta_label extends smb_basefieldbox {

    public function  __construct($fields) {
        $this->set_fields($fields);
        $this->set_inputid( $fields['id'] . '_label' );
    }

    public function show(){
        ?>
          <tr><td>
            <?php $this->add_description(); ?>
          </td></tr>
        <?php
    }

    public function save($post_id){
            //Nothing should be done here.
    }

    public function  get_js_class() {
        return '';
    }

    public static function build_me( $field_data, &$new_field_object ){
        $new_field_object = new smartmeta_label($field_data);
    }
    
}
?>
